package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("user_child")
public class UserChildDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 用户id */
    @TableField("user_id")
    private Long userId;
    /** 姓名/昵称 */
    @TableField("name")
    private String name;
    /** 头像 */
    @TableField("avatar")
    private String avatar;
    /** 性别 1男 2女 */
    @TableField("sex")
    private Integer sex;
    /** 生日 */
    @TableField("birthday")
    private Date birthday;
}
